home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
cuj0593.zip
/
1105086A
< prev
next >
Wrap
Text File
|
1993-05-16
|
200b
|
24 lines
class B
{
protected:
int j;
private:
int k;
};
class D : public B
{
public:
int foo();
};
int D::foo()
{
++j; // ok
return k; // error: k not accessible
}